# _*_ coding:utf8 _*_

import cv2
from digit_calculate import segment_char


if __name__ == '__main__':
    image_file = './test_data/5+7=.png'
    source_image = cv2.imread(image_file)
    recognition_border_list = segment_char(source_image, save_segment_image=True)
    print(image_file, recognition_border_list)
